<template>
  <div class="lookMusic_container">
    <div style="height: 61px; width: 100%">
      <el-menu mode="horizontal" router :default-active="$route.path">
        <el-menu-item
          :class="{ activeStyle: $route.path == '/lookMusic/geXing' }"
          index="/lookMusic/geXing"
          >个性推荐</el-menu-item
        >
        <el-menu-item
          :class="{ activeStyle: $route.path == '/lookMusic/geDan' }"
          index="/lookMusic/geDan"
          >歌单</el-menu-item
        >
        <el-menu-item
          :class="{ activeStyle: $route.path == '/lookMusic/paiHangBang' }"
          index="/lookMusic/paiHangBang"
          >排行榜</el-menu-item
        >
        <el-menu-item
          :class="{ activeStyle: $route.path == '/lookMusic/geShou' }"
          index="/lookMusic/geShou"
          >歌手</el-menu-item
        >
        <el-menu-item
          :class="{ activeStyle: $route.path == '/lookMusic/newSong' }"
          index="/lookMusic/newSong"
          >最新音乐</el-menu-item
        >
      </el-menu>
    </div>
    <div class="lookMusic_container_router_view">
      <router-view />
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
@import "../../../common/css/commonStyle";
.lookMusic_container {
  width: 95%;
  .el-menu {
    width: 78%;
    position: fixed;
    z-index: 2;
    border: 0px;
  }
  .is-active {
    border-bottom: 2px solid $wangYiYunColor;
  }
  .activeStyle {
    font-size: 19px;
    font-weight: 800;
  }
  .lookMusic_container_router_view {
    width: 100%;
    margin-top: 15px;
  }
}
</style
>>
